home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-02 / pas_all.zip / TI190.ASC < prev    next >
Text File  |  1992-09-02  |  6KB  |  265 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.   PRODUCT : TURBO PASCAL                               NUMBER : 190
  10.   VERSION : 3.0xx
  11.        OS : PC-DOS
  12.      DATE : August 1, 1986                               PAGE : 1/4
  13.     TITLE : TANDY 2000 PATCH
  14.  
  15.  
  16.  
  17.  
  18.   The following example routines are public domain programs that
  19.   have been uploaded to our Forum on CompuServe. As a courtesy to
  20.   our users that do not have immediate access to CompuServe,
  21.   Technical Support distributes these routines free of charge.
  22.  
  23.   However, because these routines are public domain programs, not
  24.   developed by Borland International, we are unable to provide any
  25.   technical support or assistance using these routines. If you need
  26.   assistance using these routines, or are experiencing difficu
  27.  
  28.   The IBM-PC implementation of Turbo Pascal version 3.0 uses a
  29.   memory-mapped editor. This is much faster than earlier versions
  30.   of Turbo that used the IBM-PC BIOS. Several patches are required
  31.   for the Tandy 2000 to use the editor in the IBM-PC implementati
  32.  
  33.   The screen memory of the Tandy 2000 is organized in much the same
  34.   manner as the IBM-PC. The provided patch results in a copy of the
  35.   TURBO.COM file with the following properties:
  36.  
  37.   1. Normal text in the editor is displayed in NORMAL intensity.
  38.   2. A marked block of text is displayed in INVERSE video.
  39.   3. The "NEW FILE" and "NO FILES" messages BLINK.
  40.  
  41.   The video attribute which is used to control the highlighting of
  42.   selected blocks of text also controls the attribute of the "NEW
  43.   FILE" and "NO FILES" messages. Since in one case the attribute is
  44.   written directly to video RAM, and in the other  it is passe
  45.  
  46.   Have the following information ready before attempting the
  47.   required patches:
  48.  
  49.   1. Screen memory address
  50.   ---------------------
  51.   The location of screen memory depends on the amount of RAM
  52.   installed in the Tandy 2000. The following table gives the  video
  53.   address for each increment of 128K RAM installed:
  54.  
  55.  
  56.        RAM      Screen RAM address (hex)
  57.       ------   -------------------------
  58.        128K            1EC0
  59.        256K            3EC0
  60.        384K            5EC0
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.   PRODUCT : TURBO PASCAL                               NUMBER : 190
  76.   VERSION : 3.0xx
  77.        OS : PC-DOS
  78.      DATE : August 1, 1986                               PAGE : 2/4
  79.     TITLE : TANDY 2000 PATCH
  80.  
  81.  
  82.  
  83.  
  84.        512K            7EC0
  85.        640K            9EC0
  86.        768K            BEC0
  87.  
  88.   2. Patch location in the TURBO file
  89.      --------------------------------
  90.   The patch location in the file depends upon which version of
  91.   Turbo Pascal is being modified. As of this writing, six distinct
  92.   versions exist:
  93.  
  94.        versions 3.00x      versions 3.01x
  95.        --------------      --------------
  96.         regular             regular
  97.          8087                8087
  98.          BCD                 BCD
  99.  
  100.    Note: The version letter (x) is not significant since it does
  101.   not affect patch locations.
  102.  
  103.   The following table gives the patch address for each of the above
  104.   versions:
  105.  
  106.      TURBO PASCAL version number     Patch address (hexadecimal)
  107.     -----------------------------   -----------------------------
  108.      TURBO.COM    3.00x              3FC0
  109.      TURBO-87.COM 3.00x              3A89
  110.      TURBOBCD.COM 3.00x              3EE1
  111.      TURBO.COM    3.01x              4088
  112.      TURBO-87.COM 3.01x              3B51
  113.      TURBOBCD.COM 3.01x              3FA9
  114.  
  115.  
  116.   Modifying the TURBO PASCAL file
  117.   -------------------------------
  118.  
  119.   1. Use TINST to install Turbo Pascal for the screen type "b/w
  120.   display 80x25." If you are patching the 8087 and/or BCD versions,
  121.   you must install each file separately by  temporarily renaming it
  122.   to TURBO.COM before running TINST.
  123.  
  124.   2. Now use the DEBUG program supplied on the Tandy DOS diskette
  125.   to install the patch (user input is in UPPERCASE; system  output
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.   PRODUCT : TURBO PASCAL                               NUMBER : 190
  142.   VERSION : 3.0xx
  143.        OS : PC-DOS
  144.      DATE : August 1, 1986                               PAGE : 3/4
  145.     TITLE : TANDY 2000 PATCH
  146.  
  147.  
  148.  
  149.  
  150.   in lowercase). "XXXX" represents the address of the  video
  151.   segment
  152.  
  153.   3. pppp represents the patch address previously listed.
  154.  
  155.   4. ssss represents the screen memory address previously listed.
  156.  
  157.   Use the DOS utility, DEBUG, to apply the following patch to a
  158.   copy of your .COM file. Copy DEBUG.COM into the directory (or
  159.   onto the diskette) where your working copy of .COM is located. At
  160.   the DOS prompt, type the following information exactly as it appe
  161.  
  162.   Note:
  163.   1.   DEBUG is not sensitive to upper and lower case. All
  164.        addresses are listed in upper case for ease of  readability.
  165.  
  166.   2.   While in DEBUG, the prompt will appear as a dash (-).
  167.  
  168.   3.   If you do not receive the appropriate response,  press "q",
  169.        then <Enter>, to quit. Check your  version numbers and, if
  170.        correct, try again.
  171.  
  172.  
  173.   YOU TYPE                   THIS APPEARS
  174.  
  175.        debug TURBO.COM                    -
  176.        aPPPP<Return>                      xxxx:pppp
  177.        mov DX,SSSS<Return>                xxxx:pppp+3
  178.        mov byte PTR [0000],OA<Return>     xxxx:pppp+8
  179.        mov byte PTR [0002],8A<RETURN>     xxxx:pppp+B
  180.        <Return>                           -
  181.        w<Return>                          writing xxxx bytes
  182.        q<Return>                          DOS prompt
  183.  
  184.  
  185.  
  186.   NOTE:     If additional memory is added at a later time, it will
  187.             be necessary to repeat the DEBUG portion of the patch
  188.             in order to account for the new location of the screen.
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207.   PRODUCT : TURBO PASCAL                               NUMBER : 190
  208.   VERSION : 3.0xx
  209.        OS : PC-DOS
  210.      DATE : August 1, 1986                               PAGE : 4/4
  211.     TITLE : TANDY 2000 PATCH
  212.  
  213.  
  214.  
  215.  
  216.   DISCLAIMER: You have the right to use this technical information
  217.   subject to the terms of the No-Nonsense License Statement that
  218.   you received with the Borland product to which this information
  219.   pertains.
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.